/*服务地址*/
var url_QHBuilding="http://10.218.44.194:8090/iserver/services/3D-JianHuaHongBeiMoXing_20201210/rest/realspace";         //简化烘焙模型
// var url_QHBuilding="http://10.218.44.167:8090/iserver/services/3D-local3DCache-modelSceneOverview/rest/realspace";          //简化白模含大铲湾宝中片区
var url_QHUnit="http://10.218.44.167:8090/iserver/services/3D-local3DCache-version3/rest/realspace";
var url_SZBuilding="http://10.218.44.167:8090/iserver/services/3D-local3DCache-LinearExtrudeResulttest2/rest/realspace";
var url_QHBoundary="http://10.218.44.167:8090/iserver/services/3D-local3DCache-PianQuHuaFen150m/rest/realspace";


/*billboard配置*/
var units_BAZX =[];
var units_DCW =[];
var regions = [
    {
        id:"board_DCW",
        name:"大铲湾",
        fontsize:20,
        X:113.859751635247,
        Y:22.5376167520908
    },
    {
        id:"board_BAZX",
        name:"宝安中心",
        fontsize:20,
        X:113.88124791896,
        Y:22.5541846615024
    },
    {
        id:"board_GW",
        name:"桂湾",
        fontsize:20,
        X:113.894843462772,
        Y:22.5372328208102
    },
    {
        id:"board_QW",
        name:"前湾",
        fontsize:20,
        X:113.890009957,
        Y:22.5203397487348
    },
    {
        id:"board_MW",
        name:"妈湾",
        fontsize:20,
        X:113.874372896702,
        Y:22.5082158581954
    }
];

var units_GW = [
    {
        id:"01",
        name:"一单元",
        fontsize:20,
        X:  113.891570197445, Y:  22.5387207844294 
    },
    {
        id:"02",
        name:"二单元",
        fontsize:20,
        X:  113.89297819448, Y:  22.5328964072042 
    },
    {
        id:"03",
        name:"三单元",
        fontsize:20,
        X:  113.899231159383, Y:  22.5455745634828 
    },
    {
        id:"04",
        name:"四单元",
        fontsize:20,
        X:  113.897281699996, Y:  22.5396202362031 
    },
    {
        id:"05",
        name:"五单元",
        fontsize:20,
        X:  113.899427747429, Y:  22.5314424984513 
    },
    {
        id:"06",
        name:"六单元",
        fontsize:20,
        X:  113.902904189547, Y:  22.5352621200377 
    }
];
var units_QW =[   
    {
        id:"07",
        name:"七单元",
        fontsize:20,
        X:  113.885947396562, Y:  22.5272431216573 
    },
    {
        id:"08",
        name:"八单元",
        fontsize:20,
        X:  113.880343407185, Y:  22.5230199744229 
    },
    {
        id:"09",
        name:"九单元",
        fontsize:20,
        X:  113.890329973879, Y:  22.5234221557973 
    },
    {
        id:"10",
        name:"十单元",
        fontsize:20,
        X:  113.884685967546, Y:  22.5186299397274 
    },
    {
        id:"11",
        name:"十一单元",
        fontsize:20,
        X:  113.897772050136, Y:  22.5206715903341 
    },
    {
        id:"12",
        name:"十二单元",
        fontsize:20,
        X:  113.891819127536, Y:  22.5160121874201 
    },
    {
        id:"13",
        name:"十三单元",
        fontsize:20,
        X:  113.89169705292, Y:  22.5114003880268 
    }
];

var units_MW= [
    {
        id:"14",
        name:"十四单元",
        fontsize:20,
        X:  113.872002205109, Y:  22.5187913948347 
    },
    {
        id:"15",
        name:"十五单元",
        fontsize:20,
        X:  113.878752468818, Y:  22.5143317703414 
    },
    {
        id:"16",
        name:"十六单元",
        fontsize:20,
        X:  113.870812609120, Y:  22.51326159173 
    },
    {
        id:"17",
        name:"十七单元",
        fontsize:20,
        X:  113.86482278839, Y:  22.5099782103414 
    },
    {
        id:"18",
        name:"十八单元",
        fontsize:20,
        X:  113.873626043820, Y:  22.5063105500823 
    },
    {
        id:"19",
        name:"十九单元",
        fontsize:20,
        X:  113.884789119687, Y:  22.5068450299611 
    },
    {
        id:"20",
        name:"二十单元",
        fontsize:20,
        X:  113.875939590448, Y:  22.4999655880495 
    },
    {
        id:"21",
        name:"二十一单元",
        fontsize:20,
        X:  113.868415779003, Y:  22.4907984617375 
    }
];

var unit_22 =[
    {
        id:"22",
        name:"二十二单元",
        fontsize:20,
        X:  113.885765166781, Y:  22.5315931347105 
    }
];

//数字转大写
var characters = [
    "零","一","二","三","四","五","六","七","八","九",
    "十","十一","十二","十三","十四","十五","十六","十七","十八","十九",
    "二十","二十一","二十二"
];

//模型跳转链接pkValues
var building_pkValues =[
    
    {
        jhmxname:"顺丰@十九单元建筑",
        name:"顺丰总部大厦",
        yjlbname:"26顺丰总部大厦",
        pkValue:"81e94e022c80fc4b3dd16f53a95c94d8"
    },
    {
        jhmxname:"香缤@十九单元建筑",
        name:"前海香缤大厦",
        yjlbname:"前海香缤大厦",
        pkValue:"73a69191a84748a5c0ad66803ac63692"
        
    },
    {
        jhmxname:"自贸大厦@十九单元建筑",
        name:"前海自贸大厦",
        yjlbname:"23前海自贸大厦",
        pkValue:"492632f55b1978b9ae460ef5b84ce78c"
    },
    // {
    //     jhmxname:"十九单元无方案建筑@十九单元建筑",
    //     name:"十九单元无方案建筑",
    //     yjlbname:undefined,
    //     pkValue:undefined
    // },
    // {
    //     jhmxname:"招商一期_1@十九单元建筑",
    //     name:"招商一期_1"
    // },
    // {
    //     jhmxname:"招商一期_2@十九单元建筑",
    //     name:"招商一期_2"
    // },
    // {
    //     jhmxname:"招商一期_3@十九单元建筑",
    //     name:"招商一期_3"
    // },
    // {
    //     jhmxname:"招商三期@十九单元建筑",
    //     name:"招商三期"
    // },
    // {
    //     jhmxname:"西部物流@十九单元建筑",
    //     name:"西部物流"
    // },
    // {
    //     jhmxname:"香江@十九单元建筑",
    //     name:"香江"
    // },
    // {
    //     jhmxname:"世茂@十九单元建筑",
    //     name:"世茂"
    // },
    // {
    //     jhmxname:"信利康@十九单元建筑",
    //     name:"信利康"
    // },
    // {
    //     jhmxname:"金立@十九单元建筑",
    //     name:"金立"
    // },
    // {
    //     jhmxname:"T1903天桥@十九单元建筑",
    //     name:"T1903天桥"
    // },
];